home *** CD-ROM | disk | FTP | other *** search
- /* This is an ARexx script for use with fMSX Amiga.
-
- $VER: togglemode.fmsx 2.2 (6.6.99)
-
- This script pauses fMSX if it is running or in music mode, and
- runs it if is paused. Additionally it unlocks the drives when
- paused so the Amiga can access the disks in them.
- */
-
- options results
-
- address FMSX.0
-
- mode
-
- say result
-
- if result = "Pause" then do
- mode run
- lockdrives on
- end
- else do
- mode pause
- lockdrives off
- end
-
-